Algorithm Synthesis by Lazy Thinking: Examples and Implementation in Theorema

نویسندگان

  • Bruno Buchberger
  • Adrian Craciun
چکیده

Recently, we proposed a systematic method for top-down synthesis and verification of lemmata and algorithms called ”lazy thinking method” as a part of systematic mathematical theory exploration (mathematical knowledge management). The lazy thinking method is characterized: • by using a library of theorem and algorithm schemes • and by using the information contained in failing attempts to prove the schematic theorem or the correctness theorem for the algorithm scheme for inventing lemmata or requirements for subalgorithms, respectively. In this paper, we give a couple of examples for algorithm synthesis using the lazy thinking paradigm. These examples illustrate how the synthesized algorithm depends on the algorithm scheme used. Also, we give details about the implementation of the lazy thinking algorithm synthesis method in the frame of the Theorema system. In this implementation, the synthesis of the example algorithms can be carried out completely automatically, i.e. without any user interaction.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Towards the Automated Synthesis of a Gröbner Bases Algorithm

We discuss the question of whether the central result of algorithmic Gröbner bases theory, namely the notion of S–polynomials together with the algorithm for constructing Gröbner bases using S–polynomials, can be obtained by “artificial intelligence”, i.e. a systematic (algorithmic) algorithm synthesis method. We present the “lazy thinking” method for theorem and algorithm invention and apply i...

متن کامل

Algorithm Invention and Verification by Lazy Thinking

Acknowledgment: Sponsored by FWF (Österreichischer Fonds zur Förderung der Wissenschaftlichen Forschung; Austrian Science Foundation, Project SFB 1302, in the frame of the SFB "Scientific Computing" at the Johannes Kepler University, Linz, Austria. My PhD student Adrian Craciun implemented the case study in the frame of the Theorema system starting from my earlier versions of the induction prov...

متن کامل

Algorithm Synthesis by Lazy Thinking: Using Problem Schemes

Recently, as part of a general formal (i.e. logic based) methodology for mathematical knowledge management we also introduced a method for the automated synthesis of correct algorithms, which we called the lazy thinking method. For a given concrete problem specification (in predicate logic), the method tries out various algorithm schemes and derives specifications for the subalgorithms in the a...

متن کامل

Verification Environment in Theorema

We present a verification environment for imperative programs (using Hoare logic) and for functional programs (using fixpoint theory) in the frame of the Theorema system (www.theorema.org). In particular, we discuss some methods for finding the invariants of loops and specifications of auxiliary tail recursive functions. These methods use techniques from (polynomial) algebra and combinatorics, ...

متن کامل

A Verification Environment for Imperative and Functional Programs in the Theorema system

We present a verification environment for imperative programs (using Hoare logic) and for functional programs (using fixpoint theory) in the frame of the Theorema system (www.theorema.org). In particular, we discuss some methods for finding the invariants of loops and of specifications of auxiliary tail recursive functions. These methods use algorithms from (polynomial) algebra and combinatoric...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 93  شماره 

صفحات  -

تاریخ انتشار 2004